
<html>
<body>
<!--BANNER SECTION START-->
<div id="banner-sec">
<section>
    <div id="banner-fade">
        <ul class="bjqs">
          <li>
          <h1 class="ban-title">INDIA</h1>
          <div class="banner-cont-sec">
          <img src="<?php echo $this->basePath(); ?>/images/mobile-phone.png" alt="">
          <div class="bt-des-sec">
          <h1>INDIA Mobile @ 0.008$</h1>
          <p>We provide Apple (iphone,ipad) & Android (All Android versions )Mobile Dailers to Smart Mobile phone Users as well Desk top Dailers for Standard Pc Users , Much Easy to operate Now.</p>
          </div>
          </div>
          </li>
		  <li>
          <h1 class="ban-title">VoiP</h1>
          <div class="banner-cont-sec">
          <img src="<?php echo $this->basePath(); ?>/images/mobile-phone.png" alt="">
          <div class="bt-des-sec">
          <h1>Mobile Dailers</h1>
          <p>We provide Apple (iphone,ipad) & Android (All Android versions )Mobile Dailers to Smart Mobile phone Users as well Desk top Dailers for Standard Pc Users , Much Easy to operate Now.</p>
          </div>
          </div>
          </li>
          <li>
          <h1 class="ban-title">SIP</h1>
          <div class="banner-cont-sec">
          <img src="<?php echo $this->basePath(); ?>/images/mobile-phone.png" alt="">
          <div class="bt-des-sec">
          <h1>Advance SIP Trunking</h1>
          <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</p>
          </div>
          </div>
          </li>
          
          <li>
          <h1 class="ban-title">H323</h1>
          <div class="banner-cont-sec">
          <img src="<?php echo $this->basePath(); ?>/images/mobile-phone.png" alt="">
          <div class="bt-des-sec">
          <h1>legacy System Trunking</h1>
          <p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution.</p>
          </div>
          </div>
          </li>
		  
		  <li>
          <h1 class="ban-title">PBX</h1>
          <div class="banner-cont-sec">
          <img src="<?php echo $this->basePath(); ?>/images/mobile-phone.png" alt="">
          <div class="bt-des-sec">
          <h1>Hosted PBX @ 99$ /Year</h1>
          <p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution.</p>
          </div>
          </div>
          </li>
		  
		  <li>
          <h1 class="ban-title">premium</h1>
          <div class="banner-cont-sec">
          <img src="<?php echo $this->basePath(); ?>/images/mobile-phone.png" alt="">
          <div class="bt-des-sec">
          <h1>High Quality Routes</h1>
          <p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution.</p>
          </div>
          </div>
          </li>
		  
		  <li>
          <h1 class="ban-title">Standed</h1>
          <div class="banner-cont-sec">
          <img src="<?php echo $this->basePath(); ?>/images/mobile-phone.png" alt="">
          <div class="bt-des-sec">
          <h1>Price Sensitive Customers</h1>
          <p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution.</p>
          </div>
          </div>
          </li>
		  
		  <li>
          <h1 class="ban-title">DID</h1>
          <div class="banner-cont-sec">
          <img src="<?php echo $this->basePath(); ?>/images/mobile-phone.png" alt="">
          <div class="bt-des-sec">
          <h1>Virtual Numbers</h1>
          <p>These numbers are programmed to forward incoming calls to one of the pre-set telephone numbers chosen by the client; either Fixed, Mobile or VoIP. A virtual number can work like a gateway between traditional calls (PSTN) and VOIP.</p>
          </div>
          </div>
          </li>
		  
		  <li>
          <h1 class="ban-title">Cards</h1>
          <div class="banner-cont-sec">
          <img src="<?php echo $this->basePath(); ?>/images/mobile-phone.png" alt="">
          <div class="bt-des-sec">
          <h1>Calling cards</h1>
          <p>Standard cards which can be purchased and used without any sort of account facility give a fixed amount of credit and are discarded when used up; rechargeable cards can be topped up, or collect payment in arrears.</p>
          </div>
          </div>
          </li>
        </ul>
      </div>
</section>

<?php /*?><div id="heroBanners" class="slideshow">

        <div class="heroItem" style="background: url(<?php echo $this->basePath(); ?>/includes/promos/slide1/promo.jpg) no-repeat center top"></div>
        

        <div class="heroItem" style="background: url(<?php echo $this->basePath(); ?>/includes/promos/slide2/promo.jpg) no-repeat center top"></div>
        

        <div class="heroItem" style="background: url(<?php echo $this->basePath(); ?>/includes/promos/slide3/promo.jpg) no-repeat center top"></div>
        

        <div class="heroItem" style="background: url(<?php echo $this->basePath(); ?>/includes/promos/slide4/promo.jpg) no-repeat center top"></div>
        
        
        <div class="heroItem" style="background: url(<?php echo $this->basePath(); ?>/includes/promos/slide5/promo.jpg) no-repeat center top"></div>

        

	</div><?php */?>

</div>

<!--BANNER SECTION END--> 

<!--CONTENT SECTION START-->

<div id="main-wrapper-sec">

<section>
  <div class="content-main-sec mt-si"> 
    
    <!--CONTENT PRODUCT SUB FIELDS SECTION START-->
    
    <ul class="pr-sub-fields-sec">
      <li><img src="<?php echo $this->basePath(); ?>/images/virtual-numbers.png" alt="">
        <div class="pr-tc-sec">
          <h2 class="pr-title"><b></b>Virtual Numbers</h2>
          <p>We provide local and toll free numbers from more than 50 countries. Numbers can be used on Voip/SIP or forwarded to any landline or mobile number.</p>
        </div>
		<a href="<?php echo $this->url('virtual-numbers', array('action' => 'virtual-numbers')); ?>" class="more">more</a>
      </li>
	  <li><img src="<?php echo $this->basePath(); ?>/images/sip-turning.png" alt="">
        <div class="pr-tc-sec">
          <h2 class="pr-title"><b></b>SIP Trunking</h2>
          <p>We have two-way SIP Trunking services designed for small business, call centers, large enterprises and carriers.</p>
        </div>
		<a href="<?php echo $this->url('sip-trunking', array('action' => 'sip-trunking')); ?>" class="more">more</a>
      </li>
	  
      <li><img src="<?php echo $this->basePath(); ?>/images/resellers.png" alt="">
        <div class="pr-tc-sec">
          <h2 class="pr-title"><b></b>resellers</h2>
          <p>Pinless calling from mobile and landline phones through local access numbers in more than 40 countries.</p>
        </div>
		<a href="<?php echo $this->url('hosted-pbx', array('action' => 'hosted-pbx')); ?>" class="more">more</a>
      </li>
	  
      <li><img src="<?php echo $this->basePath(); ?>/images/flex-plans.png" alt="">
        <div class="pr-tc-sec">
          <h2 class="pr-title"><b></b>flex plans</h2>
          <p>Pinless calling from mobile and landline phones through local access numbers in more than 40 countries.</p>
        </div>
		<a href="<?php echo $this->url('voip-plans', array('action' => 'voip-plans')); ?>" class="more">more</a>
      </li>
	  
      <li><img src="<?php echo $this->basePath(); ?>/images/voip-plans.png" alt="">
        <div class="pr-tc-sec" style="border-right:none;">
          <h2 class="pr-title"><b></b>VoiP Plans</h2>
          <p>Make and receive calls using your high speed internet connection.</p>
        </div>
		<a href="<?php echo $this->url('deals', array('action' => 'deals')); ?>" class="more">more</a>
      </li>
    </ul>
    
    <!--CONTENT PRODUCT SUB FIELDS SECTION END-->
    
    <div class="clear"></div>
    
    <!--CONTENT SUB FIELDS SECTION START-->
    
    <aside class="cont-sub-field-sec" style="margin-bottom:10px;"> 
      
      <!--WELCOME CONTENT SECTION START-->
      
      <article class="wel-sec">
        <h1 class="wel-title">Welcome to Iptelservices Ltd Hosted IPBX, SIP&H323Trunk  DID Numbers, Calling Cards </h1>
       <div class="container" style="width:365px;">
			<i class="fa fa-fw fa-quote-left fa-3x"></i>
			<div id="slides2">
			<div class="text_align_j">
				<p class="pad_b">We provide local and toll free numbers from more than 50 countries. Numbers can be used on Voip/SIP or forwarded to any landline or mobile number.We provide local and toll free numbers from more than 50 countries. Numbers can be used on Voip/SIP or forwarded to any landline or mobile number.Numbers can be used on Voip/SIPNumbers can be used on Voip/SIP.Numbers can be used on Voip/SIP.Numbers can be used on Voip/SIP.</p>
				<blockquote>
				 <small> Labaratine, Twitter </small>
				</blockquote>
			</div>
			<div class="text_align_j">
				<p class="pad_b">We provide local and toll free numbers from more than 50 countries. Numbers can be used on Voip/SIP or forwarded to any landline or mobile number.We provide local and toll free numbers from more than 50 countries. Numbers can be used on Voip/SIP or forwarded to any landline or mobile number.Numbers can be used on Voip/SIPNumbers can be used on Voip/SIP.Numbers can be used on Voip/SIP.Numbers can be used on Voip/SIP.</p>
				<blockquote>
				 <small> Labaratine, Twitter </small>
				</blockquote>
			</div>
			<div class="text_align_j">
				<p class="pad_b">We provide local and toll free numbers from more than 50 countries. Numbers can be used on Voip/SIP or forwarded to any landline or mobile number.We provide local and toll free numbers from more than 50 countries. Numbers can be used on Voip/SIP or forwarded to any landline or mobile number.Numbers can be used on Voip/SIPNumbers can be used on Voip/SIP.Numbers can be used on Voip/SIP.Numbers can be used on Voip/SIP.</p>
				<blockquote>
				 <small> Labaratine, Twitter </small>
				</blockquote>
			</div>
			<div class="text_align_j">
				<p class="pad_b">We provide local and toll free numbers from more than 50 countries. Numbers can be used on Voip/SIP or forwarded to any landline or mobile number.We provide local and toll free numbers from more than 50 countries. Numbers can be used on Voip/SIP or forwarded to any landline or mobile number.Numbers can be used on Voip/SIPNumbers can be used on Voip/SIP.Numbers can be used on Voip/SIP.Numbers can be used on Voip/SIP.</p>
				<blockquote>
				 <small> Labaratine, Twitter </small>
				</blockquote>
			</div>
			<div class="text_align_j">
				<p class="pad_b">We provide local and toll free numbers from more than 50 countries. Numbers can be used on Voip/SIP or forwarded to any landline or mobile number.We provide local and toll free numbers from more than 50 countries. Numbers can be used on Voip/SIP or forwarded to any landline or mobile number.Numbers can be used on Voip/SIPNumbers can be used on Voip/SIP.Numbers can be used on Voip/SIP.Numbers can be used on Voip/SIP.</p>
				<blockquote>
				 <small> Labaratine, Twitter </small>
				</blockquote>
			</div>
			<!--<a href="#" class="slidesjs-previous slidesjs-navigation"><i class="icon-chevron-left"></i></a>
			<a href="#" class="slidesjs-next slidesjs-navigation"><i class="icon-chevron-right"></i></a>-->
			</div>
		</div>
      </article>
      
      <!--WELCOME CONTENT SECTION END--> 
      
      <!--PROMOTIONS SECTION START-->
      
      <article class="pro-sec">
        <h2 class="pr-title">promotions</h2>
        <img src="<?php echo $this->basePath(); ?>/images/promotions.jpg" alt=""> <a href="#" class="more">more</a>
    	</article>
      
      <!--PROMOTIONS SECTION END--> 
      
      <!--LOCAL PHONE NUMBERS SECTION START-->
      
      <article class="lpn-sec">
        <h2 class="pr-title">Local Phone Numbers</h2>
        <ul class="form-fields-sec" >
          <li>
            <select class="select_heg" name="country" id="country" onChange="stateValue()">
              <option value="" >Select country</option>
			</select>
          </li>
          <li>
		  <select class="select_heg" name="city" id="city" onChange="rateValue(this.value)">
              <option value="" >Select city</option>
		  </select>
            <!--<input type="text" onFocus="if(this.value==this.defaultValue)this.value='';" onBlur="if(this.value=='')this.value=this.defaultValue;" value="Select Area" name="">-->
          </li>
          <li class="rate-sec"> 
			  <p id="CountryName">Selected Country-</p>
			  <p id="CityName">Selected City- </p>
			  <strong class="display">
			  <p style="font-size:20px;" id="costValue">$0/ month</p></strong>
		  </li>
          <li>
			<form id="formid" onSubmit="return payAmount()">
				<input name="" type="submit" value="Create Account">
			</form>
			</li>
			<li>
			<span id="error_msg" style="color:red;"></span>
			</li>
        </ul>
			<span class="form-dec-sec" style="line-height:26px; !important">select country &amp; area for availabilityCheap Calls</span>
      </article>
    </aside> 
  </div>
 <div class="clear"></div>
  
  <!--CLIENTS AREA SECTION START-->
  
  <aside class="content-main-sec ot-lg-sec"> <img src="<?php echo $this->basePath(); ?>/images/truste.jpg" alt=""> <img src="<?php echo $this->basePath(); ?>/images/secured.jpg" alt=""> <img src="<?php echo $this->basePath(); ?>/images/mcafeev.jpg" alt="">
    <h3 class="otg-title">Trusted. Safe. Reliable.</h3>
  </aside>
  
  <!--CLIENTS AREA SECTION END-->
  
  <div class="clear"></div>
</section>

</div>
<div class="clear"></div>
		<form action="<?php echo $paypalUrl;?>" method="post" id="paypal-payment-form" accept-charset="UTF-8">  
			<input type="hidden" name="cmd" value="_xclick">
			<input type="hidden" name="business" value="<?php echo $paypalid;?>">
			<input type="hidden" name="amount" id="amount" value="">
			<input type="hidden" name="custom" value=""/>			
			<input type="hidden" name="no_note" value="1">
			<input type="hidden" name="currency_code" value="USD">
			<input type="hidden" name="item_name" value="IPTEL_OTHERS">
			<input type="hidden" name="item_number" value="OUTERS" />
			<input type="hidden" name="return" value="<?php echo $baseUrl; ?>/payments-2">
			<input type="hidden" name="cancel_return" value="<?php echo $baseUrl; ?>/success">
			<input type="hidden" name="rm" value="2">
		</form>
<!--CONTENT SECTION END--> 
<div id="pop-up-3" class="pop-up-display-content">
		<h2 class="popup_heding">Confirm Message</h2>
		<p class="popup_test">You are going to paypal transaction and the amount will be deducted</p>
	</div>
</body>
</html>
	<script>
		var array='';var array1='';var Data='';var fTotal='';var array2='';var option='';
		var state1=""; var country1="";
		$(function(){
			setCountry();
		});
		function setCountry(){ 
			$.ajax({
				type: "GET",
				url: BASE_URL+'/countries',
				success: function(data){
				array=data.split('%');
				array2=array[0].split('@');
				option+="<option value=''>Select country</option>";
				
				for(var j=0;j<array2.length;j++){
				option+='<option value='+j+'>'+array2[j]+'</option>';
				}
				$("#country").html(option);
				//alert(array[1]);
				state1=array[2];
				country1=array[1];				
				}
			});
			$('#city').attr('disabled', 'disabled');
		}
		function stateValue(){
			var CountryValue=$("#country").val();
			var Countrytext=$('#country').find(":selected").text();
			var city1=$("#city").val();
			//disable
			if(CountryValue==""){
				$('#city').attr('disabled', 'disabled');
			}else{
				$('#city').removeAttr('disabled');
				$('#CountryName').text('Selected Country-'+Countrytext);
			}
			if(city1==''){
				$('#CityName').text("Selected City-");
				$('#costValue').text("$0/ month");
			}
			var stateArray=state1.split('@');var countryArray=country1.split('*');
			$('#city option').remove();
			if(CountryValue!=''){
				for(var j=0;j<stateArray.length;j++){
					if(CountryValue==j){
						var state=stateArray[j];  
						Data=countryArray[j];    
						array=state.split(',');
						$('#city').append($("<option></option>").attr("value",'').text("Select city"));
						for(var i=0;i<array.length;i++){
						  array1=array[i].split('&');
						  fTotal=array1[0]+" "+"("+Data+"-"+array1[2]+")";
						 $('#city').append($("<option></option>").attr("value",array1[1]).text(fTotal));
						}
					}
				}
				$('#CityName').text("Selected City-");
				$('#costValue').text("$0/ month");
			}else{
				$('#city').append($("<option></option>").attr("value",'').text("Select city"));
				$('#CountryName').text('Selected Country-');
				$('#CityName').text("Selected City-");
				$('#costValue').text("$0/ month");
				//$('.rate-sec').hide();
			}
			var country2=$("#country").val();
			if(country2!="" || country2==""){
				$("#error_msg").hide();
			}
		}
		function rateValue(id){
			var country1=$("#country").val();
			var city1=$("#city").val();
			var coun=$('#country').find(":selected").text();
			var cit=$('#city').find(":selected").text();
			var arr=cit.split('(');
			if(country1!="" && city1!=""){
				$("#error_msg").hide();
			}
			$('.rate-sec').show();
			$('#CountryName').text('Selected Country-'+coun);
			if(cit=='Select city'){
				$('#CityName').text("Selected City-");
				$('#costValue').text("$0/ month");
				return false;
			}else{
				$('#CityName').text("Selected City-"+arr[0]);
				$('#costValue').text("$"+id+"/ month");
			}
		}
		function payAmount(){
			var cityArray='';
			var country=$("#country").val();
			var city=$("#city").val();
			$("#error_msg").show();
				if(country=="" && city==""){
					$("#error_msg").text('Please Select Country & City');
					return false;
				}else if(country==""){
					$("#error_msg").text('Please Select Country');
					return false;
				}else if(city==""){
					$("#error_msg").text('Please Select City');
					$('#CityName').text("Selected City-");
					$('#costValue').text("$0/ month");
					return false;
				}
				if(country!="" && city!=""){
					$("#error_msg").hide();
					cityArray=city.split('.');
					$("#amount").val(cityArray[0]);
					$('#pop-up-3').popUpWindow({
				action: "open",
				buttons: [{
					text: "OK",
					cssClass: "btn-yes_p",
					click: function () {
						$("#paypal-payment-form").submit();
					}
				}, {
					text: "Cancel",
					cssClass: "btn-no_p",
					click: function () {
						this.close();
					}
				}]
			});
					return false;
				}
		}
	</script>


















